package com.wqiuqiu.gulimall.product.feign;


import com.wqiuqiu.common.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "gulimall-secdkill", fallback = SecdKillFeignServiceFallback.class)
public interface SecdKillFeignService {
    @GetMapping("/{skuId}")
    R getSecdKillInfoBySkuId(@PathVariable("skuId") Long skuId);
}
